#include "set_error_insert.h"

static error_insert_func e_func = 0;

void set_error_insert(error_insert_func func)
{
	e_func = func;
}

void error_insert(byte* left_part, byte* right_part, int round)
{
	if( e_func != 0)
	{
		e_func(left_part, right_part, round);
	}
}
